package com.ktjy.crm.entity;



import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
@Data
@TableName("sys_user")
public class SysUser implements Serializable {
    @TableId(type = IdType.AUTO)
    @TableField("usr_id")
    private Integer usrId;
    @TableField("usr_name")
    private String usrName;
    @TableField("usr_password")
    private String usrPassword;
    @TableField("usr_role_id")
    private Integer usrRoleId;
    @TableField("usr_flag")
    private Integer usrFlag;
    @Version
    private Integer version;
    private Boolean deleted;
    @TableField(fill = FieldFill.INSERT,value = "create_Time")
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE,value = "update_Time")
    private LocalDateTime updateTime;
    @TableField("role_name")
    private String roleName;
}
